<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>NSObject(KVC) Category Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">AutoParser </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">WanDa</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/propertiesOfClass:">+ propertiesOfClass:</option>
		
		<option value="//api/name/propertiesOfObject:">+ propertiesOfObject:</option>
		
		<option value="//api/name/propertiesOfSubclass:">+ propertiesOfSubclass:</option>
		
		<option value="//api/name/replacedKeyMap">+ replacedKeyMap</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/dic">- dic</option>
		
		<option value="//api/name/initWithDic:">- initWithDic:</option>
		
		<option value="//api/name/initWithJson:">- initWithJson:</option>
		
		<option value="//api/name/json">- json</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">NSObject(KVC) Category Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Declared in</th>
	<td>NSObject+AutoParser.h<br />NSObject+AutoParser.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>support :variable type</p>

<p>double
float
int
bool
BOOL
NSInteger
NSUInteger
NSNumber *
<a href="../Protocols/NSString.html">NSString</a> * <a href="../Protocols/NSMutableString.html">NSMutableString</a> *
<a href="../Protocols/NSDictionary.html">NSDictionary</a> * <a href="../Protocols/NSMutableDictionary.html">NSMutableDictionary</a> *
NSArray * NSMutableArray *
NSSet * NSMutableSet *
NSOrderedSet * NSMutableOrderedSet *
and 自定义model类</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/initWithDic:" title="initWithDic:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithDic:">&ndash;&nbsp;initWithDic:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>dic转model
readme:<a href="http://adhoc.qiniudn.com/README.html">http://adhoc.qiniudn.com/README.html</a></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (id)initWithDic:(NSDictionary *)<em>dic</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>dic</code></th>
						<td><p>字典</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>model对象</p>
			</div>
			

			
			<div class="method-subsection availability">
				<h4 class="method-subtitle parameter-title">Availability</h4>
				<p>1.0</p>
			</div>
			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSObject+AutoParser.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/dic" title="dic"></a>
	<h3 class="method-title"><code><a href="#//api/name/dic">&ndash;&nbsp;dic</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>model转dic
readme:<a href="http://adhoc.qiniudn.com/README.html">http://adhoc.qiniudn.com/README.html</a></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSDictionary *)dic</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>字典</p>
			</div>
			

			
			<div class="method-subsection availability">
				<h4 class="method-subtitle parameter-title">Availability</h4>
				<p>1.0</p>
			</div>
			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSObject+AutoParser.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initWithJson:" title="initWithJson:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initWithJson:">&ndash;&nbsp;initWithJson:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>json字符串转model</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (id)initWithJson:(NSString *)<em>json</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>json</code></th>
						<td><p>json字符串</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>model对象</p>
			</div>
			

			
			<div class="method-subsection availability">
				<h4 class="method-subtitle parameter-title">Availability</h4>
				<p>1.0</p>
			</div>
			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSObject+AutoParser.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/json" title="json"></a>
	<h3 class="method-title"><code><a href="#//api/name/json">&ndash;&nbsp;json</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>model转json字符串</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSString *)json</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>json字符串</p>
			</div>
			

			
			<div class="method-subsection availability">
				<h4 class="method-subtitle parameter-title">Availability</h4>
				<p>1.0</p>
			</div>
			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSObject+AutoParser.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/replacedKeyMap" title="replacedKeyMap"></a>
	<h3 class="method-title"><code><a href="#//api/name/replacedKeyMap">+&nbsp;replacedKeyMap</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>在propertyName与josnKeyName不一致时，要设置此类函数</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSDictionary *)replacedKeyMap</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>字典映射replacedKeyMap：{propertyName:jsonKeyName}</p>
			</div>
			

			
			<div class="method-subsection availability">
				<h4 class="method-subtitle parameter-title">Availability</h4>
				<p>1.0</p>
			</div>
			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSObject+AutoParser.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/propertiesOfObject:" title="propertiesOfObject:"></a>
	<h3 class="method-title"><code><a href="#//api/name/propertiesOfObject:">+&nbsp;propertiesOfObject:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>model对象转属性字典</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSDictionary *)propertiesOfObject:(id)<em>object</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>object</code></th>
						<td><p>model对象</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>model属性字典</p>
			</div>
			

			
			<div class="method-subsection availability">
				<h4 class="method-subtitle parameter-title">Availability</h4>
				<p>1.0</p>
			</div>
			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSObject+AutoParser.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/propertiesOfClass:" title="propertiesOfClass:"></a>
	<h3 class="method-title"><code><a href="#//api/name/propertiesOfClass:">+&nbsp;propertiesOfClass:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>model类转属性字典</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSDictionary *)propertiesOfClass:(Class)<em>klass</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>klass</code></th>
						<td><p>model类</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>model属性字典</p>
			</div>
			

			
			<div class="method-subsection availability">
				<h4 class="method-subtitle parameter-title">Availability</h4>
				<p>1.0</p>
			</div>
			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSObject+AutoParser.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/propertiesOfSubclass:" title="propertiesOfSubclass:"></a>
	<h3 class="method-title"><code><a href="#//api/name/propertiesOfSubclass:">+&nbsp;propertiesOfSubclass:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>model类的子类转属性字典，支持递归(recursive)</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (NSDictionary *)propertiesOfSubclass:(Class)<em>klass</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>klass</code></th>
						<td><p>model类</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>model的子类属性字典</p>
			</div>
			

			
			<div class="method-subsection availability">
				<h4 class="method-subtitle parameter-title">Availability</h4>
				<p>1.0</p>
			</div>
			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSObject+AutoParser.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2016 WanDa. All rights reserved. Updated: 2016-12-28</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>